package com.top10.entity.vo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.top10.entity.Goods;
import com.top10.entity.IntCategory;

import java.util.Date;
import java.util.List;

/**
 * @author sny
 * @Package com.top10.entity.vo
 * @date 2018/9/29
 */
public class GoodsWithIntCategoryVo {

    private static final long serialVersionUID = 1L;

    /**
     * 序号,主键,自增,表唯一
     */
    @TableId(value="id", type= IdType.AUTO)
    private Integer gid;
    /**
     * 主键,全局唯一
     */
    private String goodsuuid;
    /**
     * 商品名称
     */
    private String goodsname;
    /**
     * 所在商店UUID
     */
    @TableField("shop_uuid")
    private String shopUuid;
    @TableField("supplier_uuid")
    private String supplierUuid;
    /**
     * 品牌UUID
     */
    @TableField("brand_uuid")
    private String brandUuid;
    /**
     * 类型UUID
     */
    @TableField("category_uuid")
    private String categoryUuid;
    /**
     * 商品的国际类型
     */
    @TableField("int_category_uuid")
    private String intCategoryUuid;
    private String attributes;
    /**
     * 标签，每个项以,分割
     */
    private String tags;
    /**
     * 关键字，每个项以,分割
     */
    private String keyword;
    /**
     * 浏览次数
     */
    @TableField("view_count")
    private Integer viewCount;
    /**
     * 商品封面
     */
    private String show;
    /**
     * 商品概要
     */
    private String summary;
    /**
     * 商品图文介绍，HTML
     */
    private String discription;
    /**
     * 可选快递UUID。用,分割
     */
    @TableField("express_uuids")
    private String expressUuids;
    /**
     * 推荐类型{0:未推荐,1:推荐}
     */
    private Integer recommend;
    /**
     * 推荐到期时间
     */
    @TableField("recommend_end")
    private Date recommendEnd;
    /**
     * 是否为明星单品
     */
    private Boolean isStar;
    /**
     * 商品状态，0：待上架，1：已上架，2：已下架
     */
    private Integer status;
    /**
     * 1：合作商家商品，2：自营店商品（供应商）
     */
    private Integer type;

    public Boolean getGisdeleted() {
        return gisdeleted;
    }

    public void setGisdeleted(Boolean gisdeleted) {
        this.gisdeleted = gisdeleted;
    }

    /**
     * 是否删除
     */
    private Boolean gisdeleted;
    /**
     * 创建时间
     */
    private Date createtime;
    /**
     * 上架时间
     */
    @TableField("start_time")
    private Date startTime;
    /**
     * 下架时间
     */
    @TableField("end_time")
    private Date endTime;
    /**
     * 创建者
     */
    private String creator;
    /**
     * 更新时间
     */
    private Date updatetime;
    /**
     * 修改者
     */
    private String mender;
    /**
     * 是否团购精品推荐
     */
    private Boolean isBoutique;
    /**
     * 全球购推荐
     */
    private Boolean qqgBoutique;
    /**
     * 添加到全球购的更新时间
     */
    @TableField("qqg_update_time")
    private Date qqgUpdateTime;

    public List<IntCategory> intCategories;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }


    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public String getGoodsuuid() {
        return goodsuuid;
    }

    public void setGoodsuuid(String goodsuuid) {
        this.goodsuuid = goodsuuid;
    }

    public String getGoodsname() {
        return goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.goodsname = goodsname;
    }

    public String getShopUuid() {
        return shopUuid;
    }

    public void setShopUuid(String shopUuid) {
        this.shopUuid = shopUuid;
    }

    public String getSupplierUuid() {
        return supplierUuid;
    }

    public void setSupplierUuid(String supplierUuid) {
        this.supplierUuid = supplierUuid;
    }

    public String getBrandUuid() {
        return brandUuid;
    }

    public void setBrandUuid(String brandUuid) {
        this.brandUuid = brandUuid;
    }

    public String getCategoryUuid() {
        return categoryUuid;
    }

    public void setCategoryUuid(String categoryUuid) {
        this.categoryUuid = categoryUuid;
    }

    public String getIntCategoryUuid() {
        return intCategoryUuid;
    }

    public void setIntCategoryUuid(String intCategoryUuid) {
        this.intCategoryUuid = intCategoryUuid;
    }

    public String getAttributes() {
        return attributes;
    }

    public void setAttributes(String attributes) {
        this.attributes = attributes;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public Integer getViewCount() {
        return viewCount;
    }

    public void setViewCount(Integer viewCount) {
        this.viewCount = viewCount;
    }

    public String getShow() {
        return show;
    }

    public void setShow(String show) {
        this.show = show;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getDiscription() {
        return discription;
    }

    public void setDiscription(String discription) {
        this.discription = discription;
    }

    public String getExpressUuids() {
        return expressUuids;
    }

    public void setExpressUuids(String expressUuids) {
        this.expressUuids = expressUuids;
    }

    public Integer getRecommend() {
        return recommend;
    }

    public void setRecommend(Integer recommend) {
        this.recommend = recommend;
    }

    public Date getRecommendEnd() {
        return recommendEnd;
    }

    public void setRecommendEnd(Date recommendEnd) {
        this.recommendEnd = recommendEnd;
    }

    public Boolean getStar() {
        return isStar;
    }

    public void setStar(Boolean star) {
        isStar = star;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }


    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public String getMender() {
        return mender;
    }

    public void setMender(String mender) {
        this.mender = mender;
    }

    public Boolean getBoutique() {
        return isBoutique;
    }

    public void setBoutique(Boolean boutique) {
        isBoutique = boutique;
    }

    public Boolean getQqgBoutique() {
        return qqgBoutique;
    }

    public void setQqgBoutique(Boolean qqgBoutique) {
        this.qqgBoutique = qqgBoutique;
    }

    public Date getQqgUpdateTime() {
        return qqgUpdateTime;
    }

    public void setQqgUpdateTime(Date qqgUpdateTime) {
        this.qqgUpdateTime = qqgUpdateTime;
    }

    public List<IntCategory> getIntCategories() {
        return intCategories;
    }

    public void setIntCategories(List<IntCategory> intCategories) {
        this.intCategories = intCategories;
    }

}
